import service from '../index'
export const login = (data: { email: string, password: string }) => {
    return service({
        method: 'GET',
        url: `/login?email=${data.email}&password=${data.password}`,
    })
}